<?php


namespace App\Model;


use Illuminate\Database\Eloquent\Model;

/**
 * Class EnterpriseUserCommissionDetails
 *
 * @package App\Model
 * @mixin \Eloquent
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\EnterpriseUserCommissionDetails newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\EnterpriseUserCommissionDetails newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\EnterpriseUserCommissionDetails query()
 * @property int $id
 * @property int $user_id 充值的用户id
 * @property int $relation_id 返佣的对象 enterprise表
 * @property float|null $proportion 提成比例：例如0.02
 * @property float|null $money 返佣的金额
 * @property int $status 1表示已经返佣到给会员了
 * @property string $out_trade_no 商户订单号
 * @property \Illuminate\Support\Carbon $created_at 创建时间
 * @property \Illuminate\Support\Carbon $updated_at 创建时间
 * @property string|null $deleted_at 删除时间
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\EnterpriseUserCommissionDetails whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\EnterpriseUserCommissionDetails whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\EnterpriseUserCommissionDetails whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\EnterpriseUserCommissionDetails whereMoney($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\EnterpriseUserCommissionDetails whereOutTradeNo($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\EnterpriseUserCommissionDetails whereProportion($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\EnterpriseUserCommissionDetails whereRelationId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\EnterpriseUserCommissionDetails whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\EnterpriseUserCommissionDetails whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\EnterpriseUserCommissionDetails whereUserId($value)
 */
class EnterpriseUserCommissionDetails extends Model
{
    protected $table = "enterprise_user_commission_details";
}